Skip to content

Conversation

@damienguezou
Copy link
Collaborator

Add a name attribute to ToggleSwitch input.

Permit to handle the input like a normal html input when a form is submitted.

Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
@garronej
Copy link
Collaborator

Thank you!
Sorry for not reviewing erlyer.

@garronej garronej merged commit 967791d into main Apr 20, 2023
@garronej garronej deleted the add-toggle-name branch April 20, 2023 23:41
@garronej
Copy link
Collaborator

Maybe we should have nativeInputProps on this component.

@damienguezou
Copy link
Collaborator Author

Thanks for the review and merge. Yes I hesitated to add a nativeInputProps. I will try to do it

sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants